package cn.wyj.org.service.impl;

import cn.wyj.basic.service.impl.BaseServiceImpl;
import cn.wyj.org.domain.Systemdictionarydetail;
import cn.wyj.org.mapper.SystemdictionarydetailMapper;
import cn.wyj.org.service.SystemdictionarydetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SystemdictionarydetailServiceImpl extends BaseServiceImpl<Systemdictionarydetail> implements SystemdictionarydetailService {
    @Autowired
    private SystemdictionarydetailMapper systemdictionarydetailMapper;

    @Override
    public List<Systemdictionarydetail> findTailByType(Long id) {
        return systemdictionarydetailMapper.findTailByType(id);
    }

    @Override
    public void delByTypeId(Long id) {
        systemdictionarydetailMapper.delByTypeId(id);
    }
}
